]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shellDBus: Fix SetActive(false) for ScreenSaver DBus API
authorColin Walters <walters@verbum.org>
Mon, 25 Mar 2013 20:32:15 +0000 (16:32 -0400)
committerColin Walters <walters@verbum.org>
Fri, 29 Mar 2013 14:13:24 +0000 (10:13 -0400)
Someone changed .unlock() to deactivate() for the obvious symmetry
with activate(), but forgot to update it here.

https://bugzilla.gnome.org/show_bug.cgi?id=696585

js/ui/shellDBus.js

index 1fc0500521cff9a0f2591d5965c1d99ec54bf5a3..727792c13536f30efc35554ffcc691d7940c37c5 100644 (file)
@@ -397,7 +397,7 @@ const ScreenSaverDBus = new Lang.Class({
         if (active)
             this._screenShield.activate(true);
         else
-            this._screenShield.unlock(false);
+            this._screenShield.deactivate(false);
     },
 
     GetActive: function() {